package com.itheima.health.service;

import com.itheima.health.entity.Result;
import com.itheima.health.pojo.OrderSetting;
import com.itheima.health.vo.AdvanceOrderDTO;
import com.itheima.health.vo.DataVO;

import java.text.ParseException;
import java.util.List;

/**
 * @Author 山外小王
 * @Description
 * @Date 2024/04/17/15:49
 */
public interface OrderSettingService {
    /**
     * 批量导入预约设置数据
     * @param orderSettingList
     */
    void add(List<OrderSetting> orderSettingList);
    /**
     * 预约信息展示
     * @param year
     * @param month
     */
    List<DataVO> getOrderSettingByMonth(String year, String month);

    /**
     *预约单独设置
     * @param orderSetting
     */

    void editNumberByDate(OrderSetting orderSetting);

    /**
     * 预约提交
     * @param orderDTO
     * @return
     */
    Result submit(AdvanceOrderDTO orderDTO) throws ParseException;
}
